
<div class="giveHeight">
    <table class="responsive dynamicTable display table table-bordered dataTable">
        <thead>
            <tr>
                <th style="vertical-align: inherit;" rowspan="2">Date</th>
                <th style="vertical-align: inherit;" rowspan="2">Client</th>
                <th style="vertical-align: inherit;" rowspan="2">Montant Vente</th>
                <th style="vertical-align: inherit;" rowspan="2">Montant Retour</th>
                <th style="vertical-align: inherit;" rowspan="2">Montant Accompte</th>
                <th style="vertical-align: inherit;" colspan="4">Montant Reglement</th>

                <th style="vertical-align: inherit;" rowspan="2">Total</th>
            </tr>
            <tr>
                <th>Espèce</th>
                <th>Cheque</th>
                <th>Effet</th>
                <th>Accompte</th>
            </tr>
        </thead>
        <tbody id="detail_journal_ciasse">
                                    {% for ticket in pagination %}
            <tr>
                <td>{{ticket.date|date('d/m/Y H:i')}}</td>
                <td>{{ticket.client}}</td>
                <td>{{ticket.montantVente|number_format(3)}}</td>
                <td>{{ticket.montantRetour|number_format(3)}}</td>
                <td>{% if ticket.acompte %}{{ticket.acompte.montant|number_format(3)}}{% else %}0.000{% endif %}</td>
                <td>{{ticket.montantEspese|number_format(3)}}</td>
                <td>{{ticket.montantCheque|number_format(3)}}</td>
                <td>{{ticket.montantEffet|number_format(3)}}</td>
                <td>{{ticket.montantAccompte|number_format(3)}}</td>
                <td>{{ticket.montant|number_format(3)}}</td>
            </tr>
                                    {% endfor %}
        </tbody>
    </table>
</div>
<div id="DataTables_Table_0_info" class="dataTables_info">Affichage de {{ (pagination.getCurrentPageNumber -1)*pagination.getItemNumberPerPage + 1}} à {{ (pagination.getCurrentPageNumber -1)*pagination.getItemNumberPerPage + pagination.getItemNumberPerPage}} de {{ pagination.getTotalItemCount }} Ticket</div>
{# display navigation #}
<div id="DataTables_Table_0_paginate" class="dataTables_paginate paging_full_numbers">
    {{ knp_pagination_render(pagination) }}
</div>